package com.sikaryofficial.backend.domain.dto.resp.collection;

import com.sikaryofficial.backend.domain.dto.resp.UserActionListResp;
import com.sikaryofficial.system.api.model.att.AttachmentResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author qinjinyuan
 * @date 2023-11-09
 */
@Getter
@Setter
@ToString
@ApiModel(value = "用户行活动出参", description = "用户行活动出参")
public class UserActionActivityResp extends UserActionListResp {
    /**
     * 活动ID
     */
    @ApiModelProperty(value = "活动ID")
    private Long activityId;

    /**
     * 奖品品牌
     */
    @ApiModelProperty(value = "奖品品牌")
    private String prizeBrand;

    /**
     * 奖品名称
     */
    @ApiModelProperty(value = "奖品名称")
    private String prizeName;

    /**
     * 是否线上活动
     */
    @ApiModelProperty(value = "是否线上活动 0-线上 1-线下，默认0-线上活动")
    private Integer hasOnline;

    /**
     * 1-purchase 抢购 2-lottery 抽奖(转盘) 3-刮刮乐 4-预约即抽奖
     */
    @ApiModelProperty(value = "1-purchase 抢购 2-lottery 抽奖(转盘) 3-刮刮乐 4-预约即抽奖")
    private Integer activityType;

    /**
     * 积分个数
     */
    @ApiModelProperty(value = "积分个数")
    private Integer points;

    /**
     * 活动地址
     */
    @ApiModelProperty(value = "图片地址：活动封面")
    private String coverUrl;

    @ApiModelProperty(value = "封面图片列表")
    private List<AttachmentResp> coverUrlList;

    @ApiModelProperty(value = "活动状态 1-可预约 ;2-活动进行中 ;3-活动结束或下架")
    private Integer activityStatus;

    @ApiModelProperty(value = "预约状态：0-未预约, 1-reserved已预约, 2-expired已过期")
    private Integer reserveStatus;

    @ApiModelProperty(value = "抢购结果")
    private Boolean attendResult;
}
